cmake_minimum_required(VERSION 3.25)
set(OUT_LIB sqlit)
project(${OUT_LIB})

include_directories(/home/aubin/CPP/SQLite/)


add_subdirectory("/home/aubin/CPP/SQLite/SQLiteCpp")

add_executable(main main.cpp)
target_link_libraries(main
  SQLiteCpp
  sqlite3
  pthread
  dl
  )

#add_executable(${OUT_LIB}.test TestSQLite.cpp)
#target_link_directories(${OUT_LIB}.test PRIVATE /home/aubin/SQLiteCpp/build/ /home/aubin/SQLiteCpp/build/sqlite3/)
#target_link_libraries(${OUT_LIB}.test PRIVATE  SQLiteCpp sqlite3 pthread)